package com.jzit.network

import okhttp3.Interceptor
import okhttp3.OkHttpClient
import retrofit2.CallAdapter
import retrofit2.Converter
import java.util.ArrayList

/*
    ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
       Author   :  zhouxc
       Date     :  2022/10/26
       Time     :  14:40
    ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
 */
interface INetworkOptions {
    fun getHttpClient(): OkHttpClient?
    fun addCallAdapterFactory(factories: ArrayList<CallAdapter.Factory>)
    fun addConverterFactory(factories: ArrayList<Converter.Factory>)
    fun addInterceptor(interceptors: ArrayList<Interceptor>)
    fun addNetworkInterceptor(interceptors: ArrayList<Interceptor>)
}